import { createRouter, createWebHistory, RouteRecordRaw } from 'vue-router';

const routes: Array<RouteRecordRaw> = [{
  path: '/svg-demo',
  name: 'SvgDemo',
  component: () => import('@/views/index/SvgDemo.vue')
},
{
  path: '/',
  name: 'Home',
  component: () => import('@/views/index/HelloWorld.vue')
},
{
  path: '/hello',
  name: 'Hello',
  component: () => import('@/views/index/HelloWorld.vue')
}
]

const router = createRouter({
  history: createWebHistory(),
  routes
})

export default router